package com.yb0os1;

import com.yb0os1.anno.Yb0os1Field;
import com.yb0os1.anno.Yb0os1TableName;

@Yb0os1TableName(name = "yb0os1_user")
public class User {
    public User() {
    }

    public User(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Yb0os1Field(name = "id")
    Integer id;
    @Yb0os1Field(name = "name")

    String name;


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
